home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / biz / dopus / hotlistsource.lha / hotlist_source / source / makefile < prev    next >
Encoding:
Makefile  |  1996-10-03  |  1.7 KB  |  61 lines

  1. # Makefile for hotlist.module by Leo Davidson
  2.  
  3. # Originally based on the makefile for example.module from the OpusSDK.
  4.  
  5. MODULEOBJS = hotlist.module.o hotlist.module_strings.o ResourceNodes.o
  6. MODULEVER  = 1
  7. MODULEREV  = 1
  8.  
  9. # Compiler options -- The OPTIMIZE line should be used for release versions.
  10. #CCOPTS = noversion
  11. CCOPTS = noversion OPTIMIZE
  12. #CCOPTS = noversion DEBUG=LINE
  13.  
  14. # Linker options
  15. SLINKOPTS = noicons stripdebug smallcode smalldata
  16. #SLINKOPTS = noicons smallcode smalldata
  17.  
  18. #########################################################################
  19.  
  20. hotlist.module: $(MODULEOBJS) hotlist.module.h
  21.     slink with <<
  22. libprefix _L_
  23. libfd modules.fd
  24. from lib:libent.o lib:libinit.o lib:modinit.o $(MODULEOBJS)
  25. to $@
  26. lib lib:sc.lib lib:amiga.lib lib:dopuslib.lib
  27. libversion $(MODULEVER)
  28. librevision $(MODULEREV)
  29. $(SLINKOPTS)
  30. <
  31.  
  32. #########################################################################
  33.  
  34. hotlist.module.o: hotlist.module.c hotlist.module_strings.o
  35. hotlist.module.o: ResourceNodes.o hotlist.module.h
  36.  
  37. #########################################################################
  38.  
  39. hotlist.module_strings.o: hotlist.module.strings
  40.     setdate hotlist.module_strings.c
  41.     sc $(CCOPTS) hotlist.module_strings.c
  42.  
  43. #########################################################################
  44.  
  45. ResourceNodes.o: ResourceNodes.c ResourceNodes.h hotlist.module.h
  46. ResourceNodes.o: hotlist.module.strings
  47.  
  48. #########################################################################
  49.  
  50. .c.o:
  51.     sc $(CCOPTS) $*.c
  52. .asm.o:
  53.     sc:c/asm -iASMINC: $*.asm
  54. .cd.strings:
  55.     catcomp descriptor=$*.cd cfile=$*.strings
  56.  
  57. #########################################################################
  58.  
  59. clean:
  60.     -@delete \#?.(o|strings)
  61.